Skip to content

Conversation

10xjs
Copy link
Contributor

@10xjs 10xjs commented Oct 14, 2025

Remove DOMParser initialization import side-effect.

Issue

#7375

Description

Prevents the entire lib from breaking in environments where global DOMParser is not available and XML parsing is not required.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Remove DOMParser initialization import side-effect.

Prevents the entire lib from breaking in environments where global DOMParser is not available and XML parsing is not required.
@10xjs 10xjs requested a review from a team as a code owner October 14, 2025 20:03
@kuhe kuhe changed the title Refactor XML parser initialization fix(xml-builder): move DOMParser init from module level to function call Oct 15, 2025
@kuhe kuhe merged commit 68252cb into aws:main Oct 15, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants